import Vuex from 'vuex';
import Vue from 'vue';
import worthBuy from './modules/worthBuy'
import Category from './modules/category'

import home from './modules/home';

import search from './modules/search'

import user from "./modules/user";
Vue.use(Vuex);

import detail from './modules/detail'
import card from './modules/card'

const state = {};
const mutations = {};
const actions = {};
const getters = {};

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    worthBuy,
    Category,
    home,
    search,
    detail,
    card,
    user
  }
   
  
});
